package com.gbq.constants;

import com.gbq.service.BaseService;
import com.gbq.vo.RequestPerson;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Component
public class BaseConstants {

    private Map<String,String> map = new HashMap<String,String>();
    private Map<String,String> verifyResultMap = new HashMap<String,String>();

    public BaseConstants(){
        this.map.put("01","汉族");
        this.map.put("02","蒙古族");
        this.map.put("03","回族");
        this.map.put("04","藏族");
        this.map.put("05","维吾尔族");
        this.map.put("06","苗族");
        this.map.put("07","彝族");
        this.map.put("08","壮族");
        this.map.put("09","布依族");
        this.map.put("10","朝鲜族");

        this.map.put("11","满族");
        this.map.put("12","侗族");
        this.map.put("13","瑶族");
        this.map.put("14","白族");
        this.map.put("15","土家族");
        this.map.put("16","哈尼族");
        this.map.put("17","哈萨克族");
        this.map.put("18","傣族");
        this.map.put("19","黎族");
        this.map.put("20","僳僳族");

        this.map.put("21","佤族");
        this.map.put("22","畲族");
        this.map.put("23","高山族");
        this.map.put("24","拉祜族");
        this.map.put("25","水族");
        this.map.put("26","东乡族");
        this.map.put("27","纳西族");
        this.map.put("28","景颇族");
        this.map.put("29","柯尔克孜族");
        this.map.put("30","土族");

        this.map.put("31","达斡尔族");
        this.map.put("32","仫佬族");
        this.map.put("33","羌族");
        this.map.put("34","布朗族");
        this.map.put("35","撒拉族");
        this.map.put("36","毛难族");
        this.map.put("37","仡佬族");
        this.map.put("38","锡伯族");
        this.map.put("39","阿昌族");
        this.map.put("40","普米族");

        this.map.put("41","塔吉克族");
        this.map.put("42","怒族");
        this.map.put("43","乌孜别克族");
        this.map.put("44","俄罗斯族");
        this.map.put("45","鄂温克族");
        this.map.put("46","崩龙族");
        this.map.put("47","保安族");
        this.map.put("48","裕固族");
        this.map.put("49","京族");
        this.map.put("50","塔塔尔族");

        this.map.put("51","独龙族");
        this.map.put("52","鄂伦春族");
        this.map.put("53","赫哲族");
        this.map.put("54","门巴族");
        this.map.put("55","珞巴族");
        this.map.put("56","基诺族");
        this.map.put("57","其他");
        this.map.put("58","外国血统");

        this.map.put("1","男");
        this.map.put("2","女");

        this.verifyResultMap.put("1","核验通过");
        this.verifyResultMap.put("2","核验不通过");
        this.verifyResultMap.put("3","未比对");


    }

    public Map<String, String> getVerifyResultMap() {
        return verifyResultMap;
    }

    public void setVerifyResultMap(Map<String, String> verifyResultMap) {
        this.verifyResultMap = verifyResultMap;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public static List<RequestPerson> list = new ArrayList<>();  //缓存list

    public static Integer count = 1;   //测试常量

}
